package com.skynet.springcloud.consumer.auth.service;

import com.skynet.springcloud.consumer.auth.dto.UserAuthDTO;
import com.skynet.springcloud.consumer.auth.util.ResultVOUtil;
import com.skynet.springcloud.consumer.auth.vo.ResultVO;
import org.springframework.stereotype.Service;

import static com.skynet.springcloud.consumer.auth.enums.ResultEnum.UNKNOWN_ERROR;

@Service
public class UserAuthServiceHystrix implements UserAuthService {

    private static final ResultVO RESULT_VO = ResultVOUtil.error(UNKNOWN_ERROR);

    @Override
    public ResultVO login(UserAuthDTO userAuthDTO) {
        return RESULT_VO;
    }

    @Override
    public ResultVO register(UserAuthDTO userAuthDTO) {
        return RESULT_VO;
    }

    @Override
    public ResultVO logout() {
        return RESULT_VO;
    }

    @Override
    public ResultVO requestPass(UserAuthDTO userAuthDTO) {
        return RESULT_VO;
    }

    @Override
    public ResultVO resetPass(UserAuthDTO userAuthDTO) {
        return RESULT_VO;
    }
}
